import request from "@/utils/request";

export function findUserList(data) {
  return request({
    url: '/base-sixreal/user/findUserList',
    method: 'get',
    params: data // 传递包含多个参数的对象
  })
}
export function findSelectOrg(data) {
  return request({
    url: '/base-sixreal/user/findSelectOrg',
    method: 'get',
    data
  })
}
export function addUser(data) {
  return request({
    url: '/base-sixreal/user/addUser',
    method: 'post',
    data
  })
}
export function getOrgName(data) {
  return request({
    url: '/base-sixreal/user/findSelectOrgById',
    method: 'get',
    data
  })
}

export function updateUser(data) {
  return request({
    url: '/base-sixreal/user/updateUser',
    method: 'post',
    data
  })
}

export function delUser(id) {
  return request({
    url: '/base-sixreal/user/delete/'+id,
    method: 'get',
  })
}

export function updateUpwd(data) {
  return request({
    url: '/base-sixreal/user/updateUpwd',
    method: 'get',
    params: data // 传递包含多个参数的对象
  })
}

export function updStatue(id) {
  return request({
    url: '/base-sixreal/user/updateStatue/'+id,
    method: 'get',
  })
}




